[FORMAT "WCOFF"]
[INSTRSET "i486p"]
[BITS 32]
[FILE "api005.nas"]

    GLOBAL _api_win_create

[SECTION .text]

_api_win_create:    ; int api_win_create(char *buf, int xsiz, int ysiz, int col_inv, char *title);
    push edi
    push esi
    push ebx
    mov edx, 5
    mov ebx, [esp+16]   ; buf
    mov esi, [esp+20]   ; xsiz
    mov edi, [esp+24]   ; ysiz
    mov eax, [esp+28]   ; col_inv
    mov ecx, [esp+32]   ; title
    int 40h
    pop ebx
    pop esi
    pop edi
    ret
